#include "getabsmod.h"
#include<unistd.h>

char *which;
int main() {
/*	which=getabsmod("/home/n/photo/../");
	printf("%s\n",which);       
//        if (which!=NULL)
		free(which);	
	which=(getabsmod("/home/nandiasa/phot/../"));
	printf("%s\n",which);        
//        if (which!=NULL)
		free(which);	
	which=(getabsmod("/home/nanda/photomore/../"));
	printf("%s\n",which);        
//        if (which!=NULL)
		free(which);	
	which=(getabsmod("/home/nanasdasdda/photoilesss/../"));
	printf("%s\n",which);        
//        if (which!=NULL)
		free(which);	
	which=(getabsmod("/home/naxxa/pxto/../"));
	printf("%s\n",which);        
//        if (which!=NULL)
		free(which);	
*/
	//getcwd(CWD,sizeof(CWD));
	//which=(getabsmod("/home/yogesh/testdir/moredir/../../testdir"));
	which=get_current_dir_name();
	printf("%s\n",which);        
//        if (which!=NULL)
		free(which);	
/*	which=(getabsmod("/home/naa/photo/../"));
	printf("%s\n",which);        
//        if (which!=NULL)
		free(which);	
*/	return 0;
}
